﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CKS.MES.Server.Models
{
    public class LanguageDefine
    {
        /// <summary>
        /// 语言描述
        /// </summary>
        /// <param name="key">语言key</param>
        /// <param name="text">语言描述</param>
        /// <param name="file">对应的文件</param>
        public LanguageDefine(string key, string text)
        {
            Key = key;
            Text = text;

        }

        public string Key { get; set; }
        public string Text { get; set; }

        public override string ToString()
        {
            return Text;
        }


    }
}
